import request from '@/utils/request'

export function list(params) {
  return request({
    url: '/pingjiao/Pingjiao_content/list',
    method: 'get',
    params: params
  })
}

export function info(params) {
  return request({
    url: '/pingjiao/Pingjiao_content/info',
    method: 'get',
    params: params
  })
}

export function add(data) {
  return request({
    url: '/pingjiao/Pingjiao_content/add',
    method: 'post',
    data
  })
}

export function edit(data) {
  return request({
    url: '/pingjiao/Pingjiao_content/edit',
    method: 'post',
    data
  })
}

export function del(data) {
  return request({
    url: '/pingjiao/Pingjiao_content/del',
    method: 'post',
    data
  })
}
export function listShoukebiao() {
  return request({
    url: '/pingjiao/Pingjiao_content/listShoukebiao',
    method: 'get'
  })
}

export function getPingjiaoTable() {
  return request({
    url: '/pingjiao/Pingjiao_content/getPingjiaoTable',
    method: 'get'
  })
}
export function save(data) {
  return request({
    url: '/pingjiao/Pingjiao_content/save',
    method: 'post',
    data
  })
}

export function listPingjiaoTongji(data) {
  return request({
    url: '/pingjiao/Pingjiao_content/listPingjiaoTongji',
    method: 'post',
    data
  })
}

export function listPingjiaoState(data) {
  return request({
    url: '/pingjiao/Pingjiao_content/listPingjiaoState',
    method: 'post',
    data
  })
}